package com.elitel.frame.main.entity.enums;

public enum DateTimeFormat {
    DATE("date", "yyyy-MM-dd"), DATETIME("datetime", "yyyy-MM-dd hh:mm:ss");

    // 成员变量
    private String name;
    private String fmt;

    // 构造方法
    private DateTimeFormat(String name, String fmt) {
        this.name = name;
        this.fmt = fmt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFmt() {
        return fmt;
    }

    public void setFmt(String fmt) {
        this.fmt = fmt;
    }

}
